package com.leiduoduo.oms.service;

import com.leiduoduo.oms.pojo.Restaurant;

import java.util.List;

public interface RestaurantService {
    boolean addRestaurant(Restaurant restaurant);
    boolean delRestaurant(Restaurant restaurant);
    boolean upRestaurant(Restaurant restaurant);
    Restaurant getRestaurantByCode(String code);
    Restaurant getRestaurantById(int id);
    List<Restaurant> getRestaurantList();
}
